using System;
using SuCasa.Infrastructure;
using System.Collections.Generic;
using SuCasa.DataAccess;


namespace SuCasa.Models
{
    public class CallLogViewModel
    {
        public CallLogViewModel()
        {
        }

        public CallLogViewModel(Member member, IEnumerable<CallLog> callLogs)
        {
            this.ReceivedByMemberId = member.MemberId;
            this.Name = String.Format("{0} {1}", member.FirstName, member.LastName);
            this.CallLogs = callLogs;
        }

        public int ReceivedByMemberId { get; set; }
        public string Name { get; set; }
        public string Note { get; set; }
        public string PhoneNumber { get; set; }
        public string CellPhone { get; set; }

        public IEnumerable<CallLog> CallLogs { get; set; }
        
    }
}